<?php
/**
   {tours list=list_of_tours}
*/

function show_tours($params)
{
	global $smarty;

	$smarty->assign('toursList',$params['list']);
	
	return $smarty->fetch("components/tours.tpl");
}
 
$smarty->register_function("tours", "show_tours"); 

?>